package com.lcf.system.vo;

import com.lcf.framework.annotation.DictFile;
import com.lcf.framework.annotation.DictTable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 用户积分(UserScore)表实体类
 *
 * @author lcf
 * @since 2025-04-24 21:14:32
 */
@Data
@NoArgsConstructor
public class UserScoreRankVO {
    //openid
    @Schema(description = "openid")
    @DictTable(tableName = "sys_user", primaryKey = "open_id", fields = {"name", "head_url"}, nameField = {"name", "headUrl"})
    private String openId;
    //积分
    @Schema(description = "积分")
    private Integer score;
    //排名
    @Schema(description = "排名")
    private Integer rank;
    //名称
    @Schema(description = "名称")
    private String name;
    //头像
    @DictFile
    @Schema(description = "头像")
    private String headUrl;
}

